-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rolling.construct
: Add sliding_window_view_kwargs
to pipe arguments down to sliding_window_view
#9720
Conversation
223390c
to
ae9e8c0
Compare
ae9e8c0
to
1bdd60b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me!
I don't have much context here, but should we always do this if possible, rather than add an option? Or we want to allow an escape hatch for instances where copies are made? |
It is on by default in the public APIs ( I think we should expose it in |
No! Generally keen on keeping the API small but totally reasonable here! |
@max-sixty one option would be to add |
automatic_rechunk
kwargrolling.construct
: Add sliding_window_kwargs
to pipe arguments down to sliding_window_view
rolling.construct
: Add sliding_window_kwargs
to pipe arguments down to sliding_window_view
rolling.construct
: Add sliding_window_kwargs
to pipe arguments down to sliding_window_view
* main: Compress PNG files (pydata#9747) Dispatch to Dask if nanquantile is available (pydata#9719)
I went with |
@max-sixty any more thoughts here? |
* main: Add download stats badges (pydata#9786)
rolling.construct
: Add sliding_window_kwargs
to pipe arguments down to sliding_window_view
rolling.construct
: Add sliding_window_view_kwargs
to pipe arguments down to sliding_window_view
* main: (24 commits) Bump minimum versions (#9796) Namespace-aware `xarray.ufuncs` (#9776) Add prettier and pygrep hooks to pre-commit hooks (#9644) `rolling.construct`: Add `sliding_window_kwargs` to pipe arguments down to `sliding_window_view` (#9720) Bump codecov/codecov-action from 4.6.0 to 5.0.2 in the actions group (#9793) Buffer types (#9787) Add download stats badges (#9786) Fix open_mfdataset for list of fsspec files (#9785) add 'User-Agent'-header to pooch.retrieve (#9782) Optimize `ffill`, `bfill` with dask when `limit` is specified (#9771) fix cf decoding of grid_mapping (#9765) Allow wrapping `np.ndarray` subclasses (#9760) Optimize polyfit (#9766) Use `map_overlap` for rolling reductions with Dask (#9770) fix html repr indexes section (#9768) Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2 in the actions group (#9763) unpin array-api-strict, as issues are resolved upstream (#9762) rewrite the `min_deps_check` script (#9754) CI runs ruff instead of pep8speaks (#9759) Specify copyright holders in main license file (#9756) ...
* main: Bump minimum versions (pydata#9796) Namespace-aware `xarray.ufuncs` (pydata#9776) Add prettier and pygrep hooks to pre-commit hooks (pydata#9644) `rolling.construct`: Add `sliding_window_kwargs` to pipe arguments down to `sliding_window_view` (pydata#9720) Bump codecov/codecov-action from 4.6.0 to 5.0.2 in the actions group (pydata#9793) Buffer types (pydata#9787) Add download stats badges (pydata#9786) Fix open_mfdataset for list of fsspec files (pydata#9785) add 'User-Agent'-header to pooch.retrieve (pydata#9782) Optimize `ffill`, `bfill` with dask when `limit` is specified (pydata#9771) fix cf decoding of grid_mapping (pydata#9765) Allow wrapping `np.ndarray` subclasses (pydata#9760) Optimize polyfit (pydata#9766) Use `map_overlap` for rolling reductions with Dask (pydata#9770)
Closes #9550
xref #4325
whats-new.rst
cc @phofl
Blocked till the next dask release, so we can verify tests